<template>
	<view>
		<view class="to_b_none flex1" v-show="noneType == '暂无记录'">
			<u-empty text=" " icon="/static/index/none1.png" width="130"></u-empty>
			<view class="text1" @click="tuiguangma()">去邀请</text></view>
		</view>
		
	</view>
</template>

<script>
	export default {
		name: "none-item",
		props: {
			noneType: {
				default: '',
				type: String
			}
		},
		data() {
			return {

			};
		},
		methods: {
			tuiguangma() {
				uni.navigateTo({
					url: '/pages/index/tgm'
				})
			},
			getImgUrl(icon) {
				return this.$baseUrl + icon;
			},
			nextPage(_url, type) {
				if (type == 1) {
					uni.navigateTo({
						url: _url
					})
				} else {
					uni.switchTab({
						url: _url
					})
				}

			},
			nextPage1() {
				uni.redirectTo({
					url: '/pages/integral/integral'
				})
			},

		}

	}
</script>

<style lang="scss" scoped>
	.to_b_none {
		flex-direction: column;
	}

	.text1 {
		width: 470rpx;
		height: 84rpx;
		line-height: 84rpx;
		text-align: center;
		background: linear-gradient(90deg, #C74BF0 0%, #8438FC 100%);
		border-radius: 82rpx 82rpx 82rpx 82rpx;
		
		font-size: 32rpx;
		font-family: PingFang SC-Regular, PingFang SC;
		font-weight: 400;
		color: #FFFFFF;
	

	}

	.text1 text:nth-of-type(1) {
		font-size: 28rpx;
		font-weight: 600;
		color: #333333;
		line-height: 54rpx;
	}

	.text1 text:nth-of-type(2) {
		color: #909cec;
	}
</style>